﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SCS.Common.Models;

namespace SCS.DAL
{
    public interface IMembershipRepository : IRepository<MembershipUser>
    {
        IList<MembershipUser> SearchAdminUser(string searchString);
        IList<MembershipUser> GetAllTeacherUser();
        IList<MembershipUser> SearchTeacherUser(string searchString);
        IList<MembershipUser> GetAllParentsUser();
        IList<MembershipUser> SearchParentsUser(string searchString);
        MembershipUser GetUser(string username);
        IList<MembershipUser> SearchMembers(string username, int amount);
        // PagedList<MembershipUser> SearchMembers(string search, int pageIndex, int pageSize);
        MembershipUser GetUserByEmail(string slug);
        IList<MembershipUser> GetUsersById(int id);
        //  PagedList<MembershipUser> GetAll(int pageIndex, int pageSize);
        int MemberCount();
        MembershipUser GetCurrentUser(int id);
    }
}